package com.lxw.demo.role.service.Impl;

import com.lxw.demo.role.mapper.RoleMapper;
import com.lxw.demo.role.service.IRoleService;
import com.lxw.demo.role.vo.RoleVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleService implements IRoleService {
    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<RoleVO> findById(Integer id) {
        return roleMapper.findById(id);
    }
}
